package rentcar.carcontroller;

import java.util.logging.Level;
import java.util.logging.Logger;
import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import rentcar.carcontroller.services.MsgReceiver;

@SpringBootApplication
public class Application {

        public static void main(String[] args) {
                                    try {
                        Thread.sleep(8000);
                } catch (InterruptedException ex) {
                        Logger.getLogger(Application.class.getName()).log(Level.SEVERE, null, ex);
                }
               new Thread(new MsgReceiver()).start();
                SpringApplication.run(Application.class, args);
        }
}
